package com.zhichat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhichat.entity.ContactInfoEntity;
import com.zhichat.web.dto.ContactApplyDTO;
import com.zhichat.web.dto.DelContactDTO;
import com.zhichat.web.vo.ContactItemVO;
import com.zhichat.web.vo.UserInfoVO;
import com.zhichat.web.vo.UserSearchVO;
import org.bson.Document;

import java.util.List;

/**
 * 联系人信息管理表
 *
 * @author zqli
 * @email lzq@hello.com
 * @date 2024-11-09 22:14:14
 */
public interface ContactInfoService extends IService<ContactInfoEntity> {

    UserSearchVO search(String contactId);

    Integer apply(ContactApplyDTO contactApplyDTO);

    void addContactInfo(Document paramDoc);

    List<ContactItemVO> contactList(String type);

    boolean delContact(DelContactDTO dto);

    boolean blackoutContact(DelContactDTO dto);

    UserInfoVO userDetail(Long userId);
}

